package yana.tpe.onlineshop.domain.dao;

import java.util.List;
import javax.validation.constraints.NotNull;
import yana.tpe.onlineshop.domain.domains.Category;
import yana.tpe.onlineshop.domain.domains.Product;

/**
 * 
 */
public interface ProductDao extends AbstractDao<Integer, Product> {

    List<Product> getProductFromCategory(Integer categoryId);

  public void delete(Integer id);

}
